package org.yray.javaagent.client;


import org.yray.javaagent.exec.RetListCls;

import java.util.List;

public class TimeTest {
    public void test() {
        System.out.println("开始执行TimeTest#test");
        System.out.println("sleep开始");
        try {
            for(int i=0;i<200;i++) {
                Thread.sleep(1000);
                RetListCls retListCls=new RetListCls();
                List<String> list=retListCls.list();
                for(String string:list ) {
                    System.out.println("sleep,"+i+"," +string);
                }
            }
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("sleep结束");
    }
}